package com.jxtc.enterprise.admin.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.util.List;

@Schema(description = "Admin 端查询店铺结算详情所返回的信息")
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class AdminStoreSettlementDetailVO {
    @Schema(description = "结算记录 ID", example = "c752804d0cd410267f404dd3f0457a57")
    private String settleId;

    @Schema(description = "账单周期", example = "2024-08-15 ~ 2024-09-10")
    private String billPeriod;

    @Schema(description = "订单总份数", example = "200")
    private Integer totalOrderCount;

    @Schema(description = "订单金额，单位为元", example = "3000.24")
    private String orderMoney;

    @Schema(description = "附加款项，单位为元", example = "200.5")
    private String additionalMoney;

    @Schema(description = "扣款项，单位为元", example = "159.85")
    private String deductionMoney;

    @Schema(description = "订单总结算金额，单位为元", example = "3100.98")
    private String billTotalMoney;

    @Schema(description = "结算状态", example = "未结算")
    private String statusName;

    @Schema(description = "结算状态码", example = "10")
    private Integer statusValue;

    @Schema(description = "发票凭证图片列表", example = "[\"xxx.png\", \"xx.png\"]")
    private List<String> invoiceImages;

    @Schema(description = "转账凭证图片列表", example = "[\"xxx.png\", \"xx.png\"]")
    private List<String> transferImages;

    @Schema(description = "结算流程记录", example = "[{\"time\": \"yyyy-MM-dd HH:mm:ss\", \"comment\": \"发起结算\"}, {\"time\": \"yyyy-MM-dd HH:mm:ss\", \"comment\": \"HR 同意结算\"}]")
    private List<AdminBillLogVO> billLogs;
}
